<script>
//组件js脚本代码 选项式
import {version} from 'vue'

export default {
  components: {
    //注册
  },
  data() {
    return {
      age: 88,
      version,
      msg:'hello'
    }
  },
  methods: {},
  computed: {}

}

</script>

<template>
  <!-- 模板必须有 -->
  <h3>组件555555555</h3>
  <h3>{{ msg }} {{ age }} {{ version }}</h3>
</template>

<style scoped>
/*scoped 当前组件局部样式*/

</style>
